<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class PostComment extends Model
{
    protected $fillable=['sun_picture_id','Comment_id','comment_content','user_id'];

    public function user()
    {
        return $this->belongsTo(User::class);
    }

    public function sunpicture(){
        return $this->belongsTo(SunPicture::class);
    }
}
